<?php
include_once "../../../../common.php";
// update filter
if(isset($_GET['wat']) && !empty($_GET['wat']) && isset($_GET['waarde']))
{
	if($_GET['wat'] == "sorting")
	{
		$_SESSION['klanten']['sorting'] = $_GET['waarde'];
	}
	else
	{
		if(!empty($_GET['waarde']))
			$_SESSION['klanten']['filter'][$_GET['wat']] = $_GET['waarde'];
		else
			unset($_SESSION['klanten']['filter'][$_GET['wat']]);
	}
}


